Rtcl\Models\Payment D

Total Complexity 129
Dependencies 8
Dependents 10
Total lines 866
Lines of code 453
Logical lines of code 194
Comment lines 242
Methods 75
Properties 7

Methods 75

Method Rating Maintainability Complexity Lines of code
add_note()
A
45 7 42
payment_complete()
S
52 6 26
status_transition()
S
61 5 11
get_details()
S
47 3 39
update_status()
S
58 3 16
set_currency()
S
68 4 6
set_status()
S
61 3 12
get_cancel_endpoint()
S
64 3 10
has_status()
S
77 3 3
get_payment_method_title()
S
70 3 5
set_billing_email()
S
69 3 6
get_prop()
S
64 3 9
get_meta()
S
68 3 7
get_formatted_billing_address()
S
58 2 14
get_cancel_payment_url_raw()
S
59 1 16
is_applied()
S
79 2 3
exists()
S
79 2 3
get_customer_email()
S
68 2 8
get_maybe_order_number()
S
79 2 3
get_currency()
S
75 2 4
delete_meta()
S
71 2 6
get_maybe_id()
S
78 2 3
needs_payment()
S
66 2 8
get_status()
S
69 2 7
get_pricing_id()
S
72 2 6
set_order_key()
S
72 2 5
get_address_prop()
S
67 2 7
update_meta()
S
71 2 6
get_payment_method()
S
72 2 6
get_wc_id()
S
68 2 7
set_prop()
S
70 2 6
set_address_prop()
S
69 2 6
get_total()
S
80 1 3
set_transaction_id()
S
80 1 3
set_total()
S
79 1 3
set_billing_postcode()
S
79 1 3
set_billing_state()
S
79 1 3
get_listing_title()
S
80 1 3
set_billing_city()
S
79 1 3
set_billing_address_2()
S
79 1 3
set_billing_address_1()
S
79 1 3
set_billing_company()
S
79 1 3
set_billing_last_name()
S
79 1 3
set_billing_first_name()
S
79 1 3
set_billing_phone()
S
79 1 3
set_billing_country()
S
79 1 3
__construct()
S
77 1 4
get_billing_phone()
S
79 1 3
get_listing_id()
S
80 1 3
setData()
S
67 1 8
setGateWay()
S
80 1 3
is_membership()
S
78 1 3
set_applied()
S
80 1 3
get_customer_ip_address()
S
80 1 3
get_transaction_id()
S
80 1 3
get_date_paid()
S
80 1 3
get_created_date()
S
82 1 3
set_date_paid()
S
80 1 3
get_id()
S
82 1 3
get_order_key()
S
80 1 3
get_customer_id()
S
80 1 3
get_billing_email()
S
79 1 3
get_edit_order_url()
S
77 1 3
get_order_number()
S
78 1 3
get_customer_full_name()
S
71 1 5
get_billing_full_name()
S
77 1 3
get_billing_first_name()
S
79 1 3
get_billing_company()
S
79 1 3
get_billing_address_1()
S
79 1 3
get_billing_address_2()
S
79 1 3
get_billing_city()
S
79 1 3
get_billing_state()
S
79 1 3
get_billing_postcode()
S
79 1 3
get_billing_country()
S
79 1 3
get_billing_last_name()
S
79 1 3